<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="s"  uri="/struts-tags"%>

<script type="text/javascript" src="<%=request.getContextPath()%>/js/common/jquery.calculation.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/common/jquery.field.js"></script>



<title>法人现金流量表</title><span id="navlink"> 企业客户信息  >> 法人现金流量表</span>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/custom/companycashflow.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/js/common/numdiv.js"></script>   <s:if test='#session.eflage=="show"'> <style type="text/css">	select {border:0;-webkit-appearance: none;} </style> </s:if>
<style type="text/css">
.ftab ul li{padding:0 10px;float:left;font-weight:bold;}
.ftab a{color:black}
.ftab a:hover{text-decoration:underline;}




</style>


<script>
  $(function() {
    $( "#accordion" ).accordion({
      collapsible: true
    });
  });
 </script>

<div id="accordion" style="width:auto">
  <h3>客户信息登记</h3>
  <div class="ftab">
    <ul >
			<li><a href="customShow!companyread">基本信息</a></li>
			<li><a href="customList!contactlist">联系信息</a></li>
			<li><a href="customList!topmanagerlist">高管信息</a></li>
			<li><a href="customList!prosecutedlist">被起诉信息</a></li>
			<li><a href="customList!investorlist">投资人信息</a></li>
			<li><a href="customList!foreigninvestorlist">对外投资信息</a></li>
			<!-- 
			<li><a href="customList!guarantorlist">法人保证人专用信息表</a></li>
			 -->
			<li><a href="customList!pledgercompanylist">抵质押清单信息</a></li>			
		
			<li><a href="customList!managelist">管理信息</a></li>	
					
			<li><a href="customList!externalguaranteelist">对外担保信息</a></li>
			<!-- 
			<li><a href="NewCompanyOtherrelation">法人其他关联关系表</a></li>
			 -->
			 
			<li><a href="customList!otherloanlist">其他借款</a></li>
			 
			<li><a href="customList!bankcreditlist">银行信贷信息</a></li>
			
			
			
			<li><a href="customList!cashflowlist">现金流量表</a></li>
			<li><a href="customList!assetsdebtlist">资产负债表</a></li>
			<li><a href="customList!profitlist">损益表表</a></li>	
			 <li><a href="upload!filelist?listtype=1">客户基础资料归档目录</a></li>
			 <li><a href="upload!filelist?listtype=2">客户必备资料归档目录</a></li>			
				<!-- <li><a href="./ListCompanyPledger!getCompanyPledgerList">抵押清单信息</a></li> -->			
		</ul>
  </div>
</div>
<div class="clear"></div>
<div id="msg"></div>

<form name="newCompanyCashflow" action="customActionDo!cashflowsave" method="post" id="form">
<input type="hidden" name="ccashflow.id"  value="${ccashflow.id }" />

客户ID RF02<input type="text" name="ccashflow.cid"  value="${sessionScope.companyid }" />
报表日期:<input type="text" class="datepicker"  readonly="readonly"  name="ccashflow.decdate" value="<s:date name="ccashflow.decdate" format="yyyy-MM-dd" />" />

<table class="table_box table_bottom_border" cellspacing="0" cellpadding="0">
<tr>
<td class="fheadline">一、经营活动产生的现金流量：</td>
<td><!-- <input type="text" name="ccashflow.occashflow" class="numdiv" value="${ccashflow.occashflow}" />  --></td>
<td align="right">投资活动产生的现金流量净额</td>
<td><input type="text" id="cal24"  name="ccashflow.iactivegc" class="numdiv" value="${ccashflow.iactivegc}" /></td>
</tr>
<tr>
<td align="right">销售商品、提供劳务收到的现金</td>
<td><input type="text" id="cal2" name="ccashflow.goodserviceinc" class="numdiv" value="${ccashflow.goodserviceinc}" /></td>
<td class="fheadline">三、筹资活动产生的现金流量：</td>
<td><!--  <input type="text" name="ccashflow.facashflow" class="numdiv" value="${ccashflow.facashflow}" /> --> </td>
</tr>
<tr>
<td align="right">收到的税费返还</td>
<td><input type="text" id="cal3" name="ccashflow.taxinc" class="numdiv" value="${ccashflow.taxinc}" /></td>
<td align="right">吸收投资所收到的现金</td>
<td><input type="text"  id="cal26"  id="cal6"  name="ccashflow.cashreceivedbyinvestors" class="numdiv" value="${ccashflow.cashreceivedbyinvestors}" /></td>
</tr>
<tr>
<td align="right">收到的其他与经营活动有关的现金</td>
<td><input type="text" id="cal4" name="ccashflow.otherreloactiveinc" class="numdiv" value="${ccashflow.otherreloactiveinc}" /></td>
<td align="right">借款所收到的现金</td>
<td><input type="text" id="cal27"  name="ccashflow.crrt" class="numdiv" value="${ccashflow.crrt}" /></td>
</tr>
<tr>
<td align="right">现金流入小计</td>
<td><input type="text" id="cal5" name="ccashflow.subtotalincc" class="numdiv" value="${ccashflow.subtotalincc}" /></td>
<td align="right">收到的其他与筹资活动有关的现金</td>
<td><input type="text" id="cal28"  name="ccashflow.othercashreceivedrelatingtofinancingactivities" class="numdiv" value="${ccashflow.othercashreceivedrelatingtofinancingactivities}" /></td>
</tr>
<tr>
<td align="right">购买商品、接受劳务支付的现金</td>
<td><input type="text" id="cal6" name="ccashflow.goodserviceoutc" class="numdiv" value="${ccashflow.goodserviceoutc}" /></td>
<td align="right">现金流入小计</td>
<td><input type="text" id="cal29"  name="ccashflow.subtotalincb" class="numdiv" value="${ccashflow.subtotalincb}" /></td>
</tr>
<tr>
<td align="right">支付给职工以及为职工支付的现金</td>
<td><input type="text" id="cal7"  name="ccashflow.employeesoutc" class="numdiv" value="${ccashflow.employeesoutc}" /></td>
<td align="right">偿还债务所支付的现金</td>
<td><input type="text" id="cal30"  name="ccashflow.cashpaymentof" class="numdiv" value="${ccashflow.cashpaymentof}" /></td>
</tr>
<tr>
<td align="right">支付的各项税费</td>
<td><input type="text"  id="cal8"  name="ccashflow.taxpayment" class="numdiv" value="${ccashflow.taxpayment}" /></td>
<td align="right">分配股利、利润或偿付利息所支付的现金</td>
<td><input type="text" id="cal31"  name="ccashflow.dividendsprofitsout" class="numdiv" value="${ccashflow.dividendsprofitsout}" /></td>
</tr>
<tr>
<td align="right">支付的其他与经营活动有关的现金</td>
<td><input type="text" id="cal9"  name="ccashflow.othercashpaymentsrelatingtoopc" class="numdiv" value="${ccashflow.othercashpaymentsrelatingtoopc}" /></td>
<td align="right">支付的其他与筹资活动有关的现金</td>
<td><input type="text" id="cal32"  name="ccashflow.othercashpaymentsrelatingtofc" class="numdiv" value="${ccashflow.othercashpaymentsrelatingtofc}" /></td>
</tr>
<tr>
<td align="right">现金流出小计</td>
<td><input type="text" id="cal10"  name="ccashflow.subtotaloutcc" class="numdiv" value="${ccashflow.subtotaloutcc}" /></td>
<td align="right">现金流出小计</td>
<td><input type="text" id="cal33"  name="ccashflow.subtotaloutc" class="numdiv" value="${ccashflow.subtotaloutc}" /></td>
</tr>
<tr>
<td align="right">经营活动产生的现金流量净额</td>
<td><input type="text"  id="cal11" name="ccashflow.opeactivegc" class="numdiv" value="${ccashflow.opeactivegc}" /></td>
<td align="right">筹资活动产生的现金流量净额</td>
<td><input type="text" id="cal34"  name="ccashflow.factivegc" class="numdiv" value="${ccashflow.factivegc}" /></td>
</tr>
<tr>
<td class="fheadline">二、投资活动产生的现金流量：</td>
<td><!-- <input type="text" id="cal6"  name="ccashflow.incashflow" class="numdiv" value="${ccashflow.incashflow}" /> --></td>
<td class="fheadline">四、汇率变动对现金的影响</td>
<td><input type="text"  id="cal35"  name="ccashflow.exchangerate" class="numdiv" value="${ccashflow.exchangerate}" /></td>
</tr>
<tr>
<td align="right">收回投资所收到的现金</td>
<td><input type="text"  id="cal13" name="ccashflow.disinvestmentc" class="numdiv" value="${ccashflow.disinvestmentc}" /></td>
<td class="fheadline">五、现金及现金等价物净增加额</td>
<td><input type="text" id="cal36"  name="ccashflow.inccash" class="numdiv" value="${ccashflow.inccash}" /></td>
</tr>
<tr>
<td align="right">其中：出售子公司所收到的现金</td>
<td><input type="text" id="cal14"  name="ccashflow.subsidiaryin" class="numdiv" value="${ccashflow.subsidiaryin}" /></td>
<td align="right">补充材料：</td>
<td><input type="text" id="cal37"  name="ccashflow.supmaterials" class="numdiv" value="${ccashflow.supmaterials}" /></td>
</tr>
<tr>
<td align="right">取得投资收益所收到的现金</td>
<td><input type="text" id="cal15"  name="ccashflow.dinvestmentinc" class="numdiv" value="${ccashflow.dinvestmentinc}" /></td>
<td align="right">净利润</td>
<td><input type="text" id="cal38"  name="ccashflow.netprofit" class="numdiv" value="${ccashflow.netprofit}" /></td>
</tr>
<tr>
<td align="right">处置固定资产、无形资产和其他长期资产收回的现金净额</td>
<td><input type="text" id="cal16"  name="ccashflow.fixedassetsin" class="numdiv" value="${ccashflow.fixedassetsin}" /></td>
<td align="right">现金及现金等价物净增加情况：</td>
<td><input type="text" id="cal39"  name="ccashflow.inccashnet" class="numdiv" value="${ccashflow.inccashnet}" /></td>
</tr>
<tr>
<td align="right">收到的其他与投资活动有关的现金</td>
<td><input type="text" id="cal17"  name="ccashflow.otherreliactiveinc" class="numdiv" value="${ccashflow.otherreliactiveinc}" /></td>
<td align="right">现金的期末余额</td>
<td><input type="text"  id="cal40" name="ccashflow.closingbalanceofcash" class="numdiv" value="${ccashflow.closingbalanceofcash}" /></td>
</tr>
<tr>
<td align="right">现金流入小计</td>
<td><input type="text"  id="cal18" name="ccashflow.subtotalinc" class="numdiv" value="${ccashflow.subtotalinc}" /></td>
<td align="right">减：现金的期初余额</td>
<td><input type="text" id="cal41"  name="ccashflow.cashatthebeginningoftheyear" class="numdiv" value="${ccashflow.cashatthebeginningoftheyear}" /></td>
</tr>
<tr>
<td align="right">购建固定资产、无形资产和其他长期资产所支付的现金</td>
<td><input type="text" id="cal19"  name="ccashflow.fixedassetsout" class="numdiv" value="${ccashflow.fixedassetsout}" /></td>
<td align="right">加：现金等价物的期末余额</td>
<td><input type="text" id="cal42"  name="ccashflow.closingbalanceofcashequivalents" class="numdiv" value="${ccashflow.closingbalanceofcashequivalents}" /></td>
</tr>
<tr>
<td align="right">投资所支付的现金</td>
<td><input type="text" id="cal20"  name="ccashflow.investmentoutc" class="numdiv" value="${ccashflow.investmentoutc}" /></td>
<td align="right">减：现金等价物的期初余额</td>
<td><input type="text" id="cal43"  name="ccashflow.cashequivalentsatthebeginningoftheyear" class="numdiv" value="${ccashflow.cashequivalentsatthebeginningoftheyear}" /></td>
</tr>
<tr>
<td align="right">其中：购买子公司所支付的现金</td>
<td><input type="text" id="cal21"  name="ccashflow.subsidiaryout" class="numdiv" value="${ccashflow.subsidiaryout}" /></td>
<td align="right">现金及现金等价物净增加额</td>
<td><input type="text" id="cal44"  name="ccashflow.netincreaseincashandcashequivalents" class="numdiv" value="${ccashflow.netincreaseincashandcashequivalents}" /></td>
</tr>
<tr>
<td align="right">支付的与其他与投资活动有关的现金</td>
<td colspan="3"><input type="text"  id="cal22" name="ccashflow.otherout" class="numdiv" value="${ccashflow.otherout}" /></td>
<tr>
<td align="right">现金流出小计</td>
<td colspan="3"><input type="text" id="cal23"  name="ccashflow.subtotaloutcb" class="numdiv" value="${ccashflow.subtotaloutcb}" /></td>
</tr>


</table>

<div id="button_area">
<div><input type="submit" value="保存"/></div>
	
</form>

<input type="hidden" id="eflage" name="eflage" value="${sessionScope.eflage }" />
<script type="text/javascript">
<!--
	$(document).ready(function(){
		if($("#eflage").val() === 'show'){
			$("input[type='text']").prop("readonly", true);
			$("input[type='select']").prop("disabled", true);
			$("input[type='text']").addClass("companyid");
			//$("input[type='select']").addClass("companyid");
			$("#button_area").hide();
			$("#left_area").hide();
			$(".del").hide();
			$(".smodify").html('浏览');
			
		}
	});
//-->
</script>


<script type="text/javascript">
	$(document).ready(
		function (){
			$("input[class^=sum_1]").sum("keyup", "#totalSum");			
		}		
	);
</script>